<?php
/**
 * @file $HeadURL: announcement.php $
 * @author $Author: DongJC (dongjianchang@haibao.com) $
 * @date $Date: 2015-3-25 10:40:20 $
 * @brief 
 */
namespace haibao\cms\model\data;

class Announcement extends \haibao\cms\model\data\Base{
	
	/**
	 * 公告标题
	 */
	public $Title;
	/**
	 * 摘要
	 */
	public $Summary;
	/**
	 * 创建时间
	 */
	public $CreateTime;
	/**
	 * 创建人
	 */
	public $CreateBy;
	/**
	 * 发布时间
	 */
	public $PublishTime;
	/**
	 * 添加人后台账号
	 */
	public $CreateByName;
	
	public function __construct(){
		parent::__construct();
		
		$this->stringField('Title', 'Title',true);
		$this->stringField('Summary', 'Summary',true);
		$this->dateField('CreateTime', 'CreateTime',false);
		$this->intField('CreateBy', 'CreateBy',false);
		
		$this->setTableName('Announcement');
	}
}